﻿namespace MDXStudio
{
    using Microsoft.AnalysisServices;
    using System;

    internal class TWPartition : TWEvent
    {
        internal string PartitionName;

        internal TWPartition(TraceEventArgs e) : base(e)
        {
        }

        internal override int GetImageIndex()
        {
            return 2;
        }

        internal override string GetLabel()
        {
            return string.Format("Partition '{0}'", this.PartitionName);
        }
    }
}

